<?php echo $this->render('collection/item/_tab.phtml');?>
<form action="" method="post">
<?php echo $this->form()->hidden('referer', $this->referer) . "\n";?>
<div class="body">
	<table class="form">
		<tr>
			<th colspan="2"><?php echo $this->language('ITEM INFORMATION');?>:</th>
		</tr>
		<tr>
			<td width="180"><label><span class="red">*</span> <?php echo $this->language('Title');?></label></td>
			<td><?php echo $this->form()->text('title', $this->row->getTitle(), array('size'=>'50', 'maxlength'=>'250'));?><code><?php echo $this->language('Between 1~250 characters');?>.</code></td>
		</tr>
		<tr>
			<td><label><span class="red">*</span> <?php echo $this->language('URL');?></label></td>
			<td><?php echo $this->form()->text('url', $this->row->getUrl(), array('size' => '50', 'maxlength' => '250'));?></td>
		</tr>
		<tr>
			<td><label><span class="red">*</span> <?php echo $this->language('Save Special To');?></label></td>
			<td><?php echo $this->partial('picture/_inc/categoryCheckbox.phtml', array('name' => 'category_id[]', 'selected' => $this->categoryList, 'type' => 'checkbox'));?></td>
		</tr>
	</table>
</div>
<?php echo $this->partial('collection/_inc/_ruleItem.phtml', array('rule' => $this->row->getRule(), 'isNew' => true));?>
<div class="body">
	<table class="form">
		<tr>
			<td width="180"></td>
			<td>
				<button type="submit" name="submit" value="submit"><?php echo $this->language('Submit');?></button>
				<?php if($this->row->getId()) {echo $this->render('include/deleteButton.phtml');}?>
			</td>
		</tr>
	</table>
</div>
</form>
